package com.es.www.kyl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.es.www.kyl.bean.req.web.QuestionReq;
import com.es.www.kyl.bean.res.web.QuestionListVO;
import com.es.www.kyl.domain.Question;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author estranger
 */
@Mapper
public interface QuestionMapper extends BaseMapper<Question> {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(Question record);

    int updateByPrimaryKeySelective(Question record);

	List<QuestionListVO> selectQuestionList(@Param("req") QuestionReq req);
}